package com.siysoft.tc.friend.service;

import java.util.List;

import com.siysoft.tc.base.bean.bo.ClassroomShortBo;
import com.siysoft.tc.base.bean.bo.FriendBo;
import com.siysoft.tc.base.bean.bo.PaginationBo;

public interface IFriendService {

	/**
	 * 
	 * @param id
	 * @param pb
	 * @return
	 */
	List<FriendBo> getfriend(Integer id, PaginationBo pb);

	/**
	 * 
	 * @param head_id
	 * @param dependent_id
	 * @return
	 */
	String delete(Integer head_id, Integer dependent_id);

	/**
	 * 
	 * @param email_telephone
	 * @param pb
	 * @return
	 */
	List<FriendBo> searchUser(String email_telephone, PaginationBo pb);

	/**
	 * 
	 * @param head_id
	 * @param dependent_id
	 * @return
	 */
	String add(Integer head_id, Integer dependent_id);

	/**
	 * 
	 * @param id
	 * @param pb
	 * @return
	 */
	List<ClassroomShortBo> getClassroomShort(Integer id, PaginationBo pb);

	/**
	 * 
	 * @param number
	 * @param pb
	 * @return
	 */
	List<ClassroomShortBo> searchClassroom(String number, PaginationBo pb);

	/**
	 * 
	 * @param id
	 * @param number
	 * @return
	 */
	Integer invite(Integer id, String number);

}
